exec Shell
Execute a command using the given or default shell. Pipes and redirection are supported. Only quotes and backticks are escaped in command.
Parameters
command to execute (can include additional args). Must be correctly escaped.
the shell to use, defaultShell by default.
the working directory
the environment. Uses the current environment by default.
input to write to the subprocess's stdin
whether to hide output
the output stream to use. Defaults to process.stdout.
the error stream to use. Defaults to process.stderr.
whether to fail if output is send to stderr
whether to not fail the process if the subprocess fails. Default throws an exception for non-0 return codes.
How long in ms to wait for STDIO streams to close after the exit event of the process before terminating
listener for stdout output
listener for stderr output
listener for stdout output, called per line
listener for stderr output, called per line
listener for debug output